package com.puman.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;
import javax.transaction.Transactional;

import net.sf.json.JSONObject;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.stereotype.Service;

import com.core.BaseServiceImpl;
import com.core.Pager;
import com.puman.bean.Tank;
import com.puman.common.MyException;
import com.puman.dao.TankDao;
import com.puman.service.TankService;

@Service("tankService")
@Transactional
public class TankServiceImpl extends BaseServiceImpl<Tank, TankDao> implements TankService {

	@Resource
	private TankDao tankDao;
	@Override
	public List<Tank> getList(Integer supplier_id) {
		return tankDao.getList(supplier_id);
	}
	@Override
	public List<Tank> getListLike(Integer supplier_id, String name) {
		return tankDao.getListLike(supplier_id, name);
	}
}
